<?php
namespace app\admin\model;

use think\Exception;
use think\facade\Session;
use think\Model;

class AuthGroupAccess extends Model {
    //权限组Auth_group-access列表
     public static function  authGroupAccessInfo(){
         $find=AuthGroupAccess::alias('aga')
             ->join('auth_group ag','aga.group_id=ag.id')
             ->where('uid','=',Session::get('user_id'))->find()->toArray();
         return $find;
     }
}